package com.zhiche.lisa.bms.dao.model.trans;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 运输方式对照
 * </p>
 *
 * @author liuanshun
 * @since 2018-12-05
 */
@TableName("lisa_trans_type_name_contrast")
public class TransTypeNameContrast extends Model<TransTypeNameContrast> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 运输方式名称
     */
    @TableField("trans_type_name")
    private String transTypeName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTransTypeName() {
        return transTypeName;
    }

    public void setTransTypeName(String transTypeName) {
        this.transTypeName = transTypeName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TransTypeNameContrast{" +
                ", id=" + id +
                ", transTypeName=" + transTypeName +
                "}";
    }
}
